package com.homestay.service;

import com.homestay.beans.BookInfo;
import com.homestay.beans.Books;

import java.util.List;

public interface BooksService {
    int addBooks(Books book);
    int deleteBooks(int id);
    int updateBooks(Books book,int lastHomeId);
    List<Books> getBooks(String phone);
    Books getBooksById(int id);
//    int updateBooksById(int id);
    List<BookInfo> getBookInfo(String phone);
    BookInfo getBookInfoById(String id);

}
